package gongjiao.yunxi.com.utilsprivacypolicy;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.WindowManager;


public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//
//        StatusBarUtil.setColor(this, getResources().getColor(R.color.u_color33),0);
//        setContentView(R.layout.activity_main);
//
//        UConstant.initConstant("adsense","getAdInfo","1","anzi",
//                "100019","a4bf209165bf170e5a8a344dcfd850a0","","",
//                "http://api.sjsj.cn/index.php");
//        UNewNetwork instance = UNewNetwork.getInstance();
//        instance.initAdHttp("1", new UNewNetwork.OnHttpListener() {
//            @Override
//            public void succeed(UADModel o) {
//                Log.d("--111--",o.getData().getIsStatus()+"");
//            }
//
//            @Override
//            public void error() {
//
//            }
//        });


    }

    @Override
    protected void onStop() {
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN,
                WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
        super.onStop();
    }
}
